home *** CD-ROM | disk | FTP | other *** search
- # @(#)winlib.mak 1.2 8/27/96
-
- #******************************************************************************
- # WinLib: a simple Windows 95 GUI library *
- # (C) Copyright 1996 by Philip Stephens *
- # (C) Copyright 1996 by the IBM Corporation *
- # All Rights Reserved *
- # *
- # Permission to use, copy, modify, and distribute this software and its *
- # documentation without fee for any non-commerical purpose is hereby granted, *
- # provided that the above copyright notice appears on all copies and that *
- # both that copyright notice and this permission notice appear in all *
- # supporting documentation. *
- # *
- # NO REPRESENTATIONS ARE MADE ABOUT THE SUITABILITY OF THIS SOFTWARE FOR ANY *
- # PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. *
- # NEITHER PHILIP STEPHENS OR IBM SHALL BE LIABLE FOR ANY DAMAGES SUFFERED BY *
- # THE USE OF THIS SOFTWARE. *
- #******************************************************************************
-
- #
- # Change these to suit your Borland C++ installation:
- #
- BORLAND_LIB = C:\BC\LIB
- BORLAND_INC = C:\BC\INCLUDE
-
- #
- # Borland C++ IDE generated makefile
- #
- .AUTODEPEND
-
-
- #
- # Borland C++ tools
- #
- IMPLIB = Implib
- BCC32 = Bcc32 +BccW32.cfg
- TLINK32 = TLink32
- TLIB = TLib
- BRC32 = Brc32
- TASM32 = Tasm32
-
-
- #
- # Options
- #
- IDE_LFLAGS32 = -L$(BORLAND_LIB)
- IDE_RFLAGS32 =
- CLATW32_winlibdlib = -W
- LLATW32_winlibdlib = -Tpe -aa -c
- RLATW32_winlibdlib = -w32
- BLATW32_winlibdlib =
- CEAT_winlibdlib = $(CLATW32_winlibdlib)
- CNIEAT_winlibdlib = -I$(BORLAND_INC) -D
- LNIEAT_winlibdlib = -x
- LEAT_winlibdlib = $(LLATW32_winlibdlib)
- REAT_winlibdlib = $(RLATW32_winlibdlib)
- BEAT_winlibdlib = $(BLATW32_winlibdlib)
- CLATW32_testdexe = -W
- LLATW32_testdexe = -Tpe -aa -c
- RLATW32_testdexe = -w32
- BLATW32_testdexe =
- CEAT_testdexe = $(CLATW32_testdexe)
- CNIEAT_testdexe = -I$(BORLAND_INC) -D
- LNIEAT_testdexe = -x
- LEAT_testdexe = $(LLATW32_testdexe)
- REAT_testdexe = $(RLATW32_testdexe)
- BEAT_testdexe = $(BLATW32_testdexe)
- #
- # The following section is generated by duplicate target winlib.lib.
- #
- CLATW16_winlibdlib =
- LLATW16_winlibdlib =
- RLATW16_winlibdlib =
- BLATW16_winlibdlib =
- CEAT_winlibdlib = $(CEAT_testdexe) $(CLATW16_winlibdlib)
- CNIEAT_winlibdlib = -I$(BORLAND_INC) -D
- LNIEAT_winlibdlib = -x
- LEAT_winlibdlib = $(LEAT_testdexe) $(LLATW16_winlibdlib)
- REAT_winlibdlib = $(REAT_testdexe) $(RLATW16_winlibdlib)
- BEAT_winlibdlib = $(BEAT_testdexe) $(BLATW16_winlibdlib)
- #
- ## The above section is generated by duplicate target winlib.lib.
- ##
- #
- #
-
- #
- # Dependency List
- #
- Dep_winlib = \
- winlib.lib\
- test.exe
-
- winlib : BccW32.cfg $(Dep_winlib)
- echo MakeNode
-
- Dep_winlibdlib = \
- winlib.obj
-
- winlib.lib : $(Dep_winlibdlib)
- $(TLIB) $< $(IDE_BFLAGS) $(BEAT_winlibdlib) @&&|
- -+winlib.obj
- |
-
- Dep_winlibdobj = \
- winlib.h
-
- winlib.obj : $(Dep_winlibdobj)
- $(BCC32) -P- -c @&&|
- $(CEAT_winlibdlib) $(CNIEAT_winlibdlib) -o$@ winlib.c
- |
-
- Dep_testdexe = \
- test.res\
- winlib.lib\
- test.obj\
- test.def
-
- test.exe : $(Dep_testdexe)
- $(TLINK32) @&&|
- /v $(IDE_LFLAGS32) $(LEAT_testdexe) $(LNIEAT_testdexe) +
- $(BORLAND_LIB)\c0w32.obj+
- test.obj
- $<,$*
- winlib.lib+
- $(BORLAND_LIB)\import32.lib+
- $(BORLAND_LIB)\cw32.lib
- test.def
- |
- $(BRC32) test.res $<
-
- test.res : test.rc
- $(BRC32) $(IDE_RFLAGS32) $(REAT_testdexe) $(CNIEAT_testdexe) -R -FO$@ test.rc
-
- Dep_testdobj = \
- test.h\
- winlib.h
-
- test.obj : $(Dep_testdobj)
- $(BCC32) -P- -c @&&|
- $(CEAT_testdexe) $(CNIEAT_testdexe) -o$@ test.c
- |
-
- # Compiler configuration file
- BccW32.cfg :
- Copy &&|
- -R
- -v
- -vi
- -H
- -H=winlib.csm
- | $@
-
-
-